From: Becky Bruce Date: Fri, 12 Sep 2008 10:53:43 +0000 (+0000) Subject: powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~26066^2~48^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b9579689ad3a208c342aed806afc7a9a808c4e1e;p=linux-4.9.git powerpc: Make dma_addr_t a u64 if CONFIG_PHYS_64BIT is set Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h index d3374bc865ba..a9a9262e84a3 100644 --- a/arch/powerpc/include/asm/types.h +++ b/arch/powerpc/include/asm/types.h @@ -55,7 +55,7 @@ typedef u64 phys_addr_t; typedef u32 phys_addr_t; #endif -#ifdef __powerpc64__ +#if defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT) typedef u64 dma_addr_t; #else typedef u32 dma_addr_t;